<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>博客内容管理</title>
<link rel="stylesheet" href="/site_media/css/layout.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/site_media/css/screen.css" type="text/css" media="screen" title="default" />
<script src="/site_media/js/jquery/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="/site_media/js/cms/hideshow.js" type="text/javascript"></script>
</head>
<body>
	<header id="header">
		<hgroup>
			<h1 class="site_title">
				<a href="javascript:;">Website Admin</a>
			</h1>
			<h2 class="section_title">SSYBLOG</h2>
			<div class="btn_view_site">
				<a target="_blank" href="/home/">View Site</a>
			</div>
		</hgroup>
	</header>
	<!-- end of header bar -->
	<section id="secondary_bar">
		<div class="user">
			<p>{{ request.session.user }}</p>
			<a class="logout_user" href="/admin/signout/" title="Logout">Logout</a>
		</div>
		<div class="breadcrumbs_container">
			<article class="breadcrumbs">
				<a href="javascript:;">{{ nav_parent }}</a>
				<div class="breadcrumb_divider"></div>
				<a class="current">{{ nav_child|safe }}</a>
			</article>
		</div>
	</section>
	<!-- end of secondary bar -->
	<!-- aside tool links begin -->
	<aside id="sidebar" class="column">
		<h3>日志管理</h3>
		<ul class="toggle">
			<li class="icn_edit_article 
				{% ifequal current_nav 'add_diary'  %}
					up
				{% endifequal %}
			"><a href="/admin/addDiary/">新建日志</a></li>
			<li class="icn_folder 
				{% ifequal current_nav 'tags_manage'  %}
					up
				{% endifequal %}
			"><a href="/admin/tagsList/off/">标签管理</a></li>
			<li class="icn_categories 
				{% ifequal current_nav 'diary_query'  %}
					up
				{% endifequal %}
			"><a href="/admin/diaryList/">日志查询</a></li>
		</ul>
		<hr />
		<h3>相册管理</h3>
		<ul class="toggle">
			<li class="icn_folder 
				{% ifequal current_nav 'album_manage'  %}
					up
				{% endifequal %}
			"><a href="/admin/albumList/">相册管理</a></li>
			<li class="icn_photo 
				{% ifequal current_nav 'photos_manage'  %}
					up
				{% endifequal %}
			"><a href="/admin/photosAlbum/">添加相片</a></li>
		</ul>
		<hr />
		<h3>系统设置</h3>
		<ul class="toggle">
			<li class="icn_settings 
				{% ifequal current_nav 'recd_links'  %}
					up
				{% endifequal %}
			"><a href="/admin/linksList">链接管理</a></li>
			<li class="icn_new_article 
				{% ifequal current_nav 'recd_tags'  %}
					up
				{% endifequal %}
			"><a href="/admin/tagsList/on/">推荐标签</a></li>
			<li class="icn_profile 
				{% ifequal current_nav 'about_me'  %}
					up
				{% endifequal %}
			"><a href="/admin/aboutMe/">关于我</a></li>
			<li class="icn_jump_back"><a href="/admin/signout/">退出系统</a></li>
		</ul>
		<!-- aside tool links end -->
		<!-- aside footer begin -->
		<footer>
			<hr />
			<p>
				<strong>Copyright &copy; 2011 suoyao.shen</strong>
			</p>
			<p>
				Admin by <a target="_blank" href="/home/">suoyao.shen</a>
			</p>
		</footer>
		<!-- aside footer end -->
	</aside>
	<!-- end of sidebar -->
	<!-- content begin -->
	<section id="main" class="column">
		{% block content %} {% endblock %}
		<div class="spacer"></div>
	</section>
	<!-- content end -->
</body>
</html>